package groovyx.twitter
/**
 * Created by IntelliJ IDEA.
 * User: alleon
 * Date: May 6, 2008
 * Time: 10:00:34 PM
 * To change this template use File | Settings | File Templates.
 */
class DeleteTest extends GroovyTestCase {
    def delete = new Delete()

    void setUp(){
        delete.url = "file:/tmp/file.txt"
    }

    void testToStringNoArg(){
        assertEquals delete.toString(), "file:/tmp/file.txt?"
    }

    void testToStringOneArg(){
        def queryString = new QueryString([name:"tog"])
        delete.queryString = queryString
        assertEquals delete.toString(), "file:/tmp/file.txt?name=tog"
    }

    void testGetText(){
        
    }
}